package com.bhs.service.order;


import com.bhs.vo.ResponseData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;


@FeignClient(value = "bhs-order",contextId = "remoteOrderService")
public interface RemoteOrderService {
    @PostMapping("/order/getOrder/{userId}")
    ResponseData getOrderDataById(@PathVariable("userId") Long userId);

}
